﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class contact : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        string from =  "bpophoto@bpophoto.com";
        string to =    "lucianab@pacificstarfinancial";
        string subject = "Contact Page"+email.Text;
        string body = "<table><tr><td>Name</td><td>"+name.Text;
        body =  body +  "</td></tr><tr><td>Email</td><td>"+email.Text;
        body = body + "</td></tr><tr><td>phone</td><td>"+ phone.Text;
        body = body + "</td></tr><tr><td>comment</td><td>"+message.Text;
        body = body + "</td></tr></table>";
        //Utility.sendMail(from, to, subject, body);

    }
}
